<%@ page import="com.google.appengine.api.blobstore.BlobstoreServiceFactory" %>
<%@ page import="com.google.appengine.api.blobstore.BlobstoreService" %>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<fmt:setLocale value="${currentLocale}"/>
<fmt:setBundle basename="messages"/>


<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="../style/style.css">
<title><fmt:message key="edit"/></title>
</head>
<body>
<%@ include file="../simple/navbar.jsp"%>
<%@ include file="../simple/filters.jsp"%>

<div class="content">
<h1><fmt:message key="edit"/></h1>

<form action="../admin/save-song.html" method="post">
<table>
<tr><th>Nosaukums</th><td><input type="text" size="40" 
name="title" value="<c:out value="${song.title}"/>"/></td></tr>
<tr><th>Lilypond</th><td><textarea rows="10" cols="80" 
name="lilypond"><c:out value="${lilypond}"/>
</textarea></td></tr>
<tr><th>Vārdi</th></td><td><textarea rows="24" cols="80" 
name="lyrics"><c:out value="${lyrics}"/>
</textarea></td></tr>
<tr><th>PNG fails</th><td><input type="text" size="100" name="pngLink" value="<c:out value="${song.pngLink}"/>"/></td></tr>
<tr><th>SVG fails</th><td><input type="text" size="100" name="svgLink" value="<c:out value="${song.svgLink}"/>"/></td></tr>
<tr><th>MIDI fails</th><td><input type="text" size="100" name="midiLink" value="<c:out value="${song.midiLink}"/>"/></td></tr>
<tr><th>OGG fails</th><td><input type="text" size="100" name="oggLink" value="<c:out value="${song.oggLink}"/>"/></td></tr>
<tr><th>&nbsp;</th><td><input type="Submit" value="<fmt:message key="save"/>"/></td>
</table>
<input type="hidden" name="label" value="<c:out value="${label}"/>"/>
</form>

</div>
</body>
</html>